import turtle
def drawDot(color='black',x=0,y=0,width=3):
    turtle.penup()
    turtle.goto(x,y)
    turtle.pendown()
    turtle.color(color)
    turtle.dot(width)

def drawRectangle(color="black",x=0,y=0,width=30,height=30):
    turtle.penup()
    turtle.goto(x-width/2,y-height/2)
    turtle.pendown()
    turtle.color(color)
    turtle.begin_fill()
    turtle.forward(width)
    turtle.left(90)
    turtle.forward(height)
    turtle.left(90)
    turtle.forward(width)
    turtle.left(90)
    turtle.forward(height)
    turtle.left(90)
    turtle.end_fill()

def drawCircle(color='black',x=0,y=0,radius=50):
    turtle.penup()
    turtle.goto(x,y-radius)
    turtle.pendown()
    turtle.color(color)
    turtle.begin_fill()
    turtle.circle(radius)
    turtle.end_fill()

drawDot("gray",width=6)
drawRectangle(color='blue')
drawCircle(color='red')
turtle.done()
